package cn.huiyunche.base.service.vo;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by LYN on 9/6/16.
 */
public class SServiceOrderAdminVo implements Serializable {

    private static final long serialVersionUID = -1004260122052560881L;

    // 主键
    private Long id;

    // 客户订单ID
    private Long customerOrderId;

    // 车辆当前地址
    private String currentAddr;

    // 客户订单code
    private String orderCode;

    // 客户订单ID
    private Long orderId;

    // 服务订单code
    private String sOrderCode;

    private Long userId;

    // 下单人姓名
    private String userName;

    // 起运 省编码
    private String departProvinceCode;

    // 起运 省名称
    private String departProvinceName;

    // 起运 市编码
    private String departCityCode;

    // 起运 省名称
    private String departCityName;

    // 起运 区编码
    private String departCountyCode;

    // 起运 区名称
    private String departCountyName;

    // 发车 单位
    private String departUnit;

    // 发运地址 ID
    private String departAddrId;

    // 发运详细地址
    private String departAddr;

    // 目的 省编码
    private String receiptProvinceCode;

    // 目的 省名称
    private String receiptProvinceName;

    // 目的 市编码
    private String receiptCityCode;

    // 目的 市名称
    private String receiptCityName;

    // 目的 区编码
    private String receiptCountyCode;

    // 目的 区名称
    private String receiptCountyName;

    // 接车 单位
    private String receiptUnit;

    // 接车 地址ID
    private Long receiptAddrId;

    // 接车 详细地址
    private String receiptAddr;

    // 是否上门提车
    private Boolean isPick;

    // 是否 送车上门
    private Boolean isDeliv;

    // 
    private Boolean isElectric;

    // 下单时间
    private Date createTime;

    // 品牌名称
    private String brandName;

    // 车系名称
    private String vehicleName;

    // 预计提车日期
    private Date deliveryDate;

    // 预计送达日期
    private Date arriveDate;

    // 查询条件 下单时间
    @DateTimeFormat(pattern = "yyyy-MM-dd 00:00:00")
    private Date beginCreateTime;

    // 查询条件 下单时间
    @DateTimeFormat(pattern = "yyyy-MM-dd 23:59:59")
    private Date endCreateTime;

    // 提车时间（上午、下午）
    private String deliveryTime;

    // 送达时间（上午、下午）
    private String arriveTime;

    // 服务订单 费用
    private BigDecimal cost;

    // 服务订单状态
    private int status;

    // 服务订单 费用*0.9
    private BigDecimal refCost;

    // 车架号
    private String vin;

    // 服务调度次数
    private int dispatchTimes;

    //
    private String comment;

    // 是否是同城运单
    private Boolean isVeneer;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCustomerOrderId() {
        return customerOrderId;
    }

    public void setCustomerOrderId(Long customerOrderId) {
        this.customerOrderId = customerOrderId;
    }

    public String getCurrentAddr() {
        return currentAddr;
    }

    public void setCurrentAddr(String currentAddr) {
        this.currentAddr = currentAddr;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getsOrderCode() {
        return sOrderCode;
    }

    public void setsOrderCode(String sOrderCode) {
        this.sOrderCode = sOrderCode;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDepartProvinceCode() {
        return departProvinceCode;
    }

    public void setDepartProvinceCode(String departProvinceCode) {
        this.departProvinceCode = departProvinceCode;
    }

    public String getDepartProvinceName() {
        return departProvinceName;
    }

    public void setDepartProvinceName(String departProvinceName) {
        this.departProvinceName = departProvinceName;
    }

    public String getDepartCityCode() {
        return departCityCode;
    }

    public void setDepartCityCode(String departCityCode) {
        this.departCityCode = departCityCode;
    }

    public String getDepartCityName() {
        return departCityName;
    }

    public void setDepartCityName(String departCityName) {
        this.departCityName = departCityName;
    }

    public String getDepartCountyCode() {
        return departCountyCode;
    }

    public void setDepartCountyCode(String departCountyCode) {
        this.departCountyCode = departCountyCode;
    }

    public String getDepartCountyName() {
        return departCountyName;
    }

    public void setDepartCountyName(String departCountyName) {
        this.departCountyName = departCountyName;
    }

    public String getDepartUnit() {
        return departUnit;
    }

    public void setDepartUnit(String departUnit) {
        this.departUnit = departUnit;
    }

    public String getDepartAddrId() {
        return departAddrId;
    }

    public void setDepartAddrId(String departAddrId) {
        this.departAddrId = departAddrId;
    }

    public String getDepartAddr() {
        return departAddr;
    }

    public void setDepartAddr(String departAddr) {
        this.departAddr = departAddr;
    }

    public String getReceiptProvinceCode() {
        return receiptProvinceCode;
    }

    public void setReceiptProvinceCode(String receiptProvinceCode) {
        this.receiptProvinceCode = receiptProvinceCode;
    }

    public String getReceiptProvinceName() {
        return receiptProvinceName;
    }

    public void setReceiptProvinceName(String receiptProvinceName) {
        this.receiptProvinceName = receiptProvinceName;
    }

    public String getReceiptCityCode() {
        return receiptCityCode;
    }

    public void setReceiptCityCode(String receiptCityCode) {
        this.receiptCityCode = receiptCityCode;
    }

    public String getReceiptCityName() {
        return receiptCityName;
    }

    public void setReceiptCityName(String receiptCityName) {
        this.receiptCityName = receiptCityName;
    }

    public String getReceiptCountyCode() {
        return receiptCountyCode;
    }

    public void setReceiptCountyCode(String receiptCountyCode) {
        this.receiptCountyCode = receiptCountyCode;
    }

    public String getReceiptCountyName() {
        return receiptCountyName;
    }

    public void setReceiptCountyName(String receiptCountyName) {
        this.receiptCountyName = receiptCountyName;
    }

    public String getReceiptUnit() {
        return receiptUnit;
    }

    public void setReceiptUnit(String receiptUnit) {
        this.receiptUnit = receiptUnit;
    }

    public Long getReceiptAddrId() {
        return receiptAddrId;
    }

    public void setReceiptAddrId(Long receiptAddrId) {
        this.receiptAddrId = receiptAddrId;
    }

    public String getReceiptAddr() {
        return receiptAddr;
    }

    public void setReceiptAddr(String receiptAddr) {
        this.receiptAddr = receiptAddr;
    }

    public Boolean getIsPick() {
        return isPick;
    }

    public void setIsPick(Boolean isPick) {
        this.isPick = isPick;
    }

    public Boolean getIsDeliv() {
        return isDeliv;
    }

    public void setIsDeliv(Boolean isDeliv) {
        this.isDeliv = isDeliv;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Date getArriveDate() {
        return arriveDate;
    }

    public void setArriveDate(Date arriveDate) {
        this.arriveDate = arriveDate;
    }

    public Date getBeginCreateTime() {
        return beginCreateTime;
    }

    public void setBeginCreateTime(Date beginCreateTime) {
        this.beginCreateTime = beginCreateTime;
    }

    public Date getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(Date endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(String arriveTime) {
        this.arriveTime = arriveTime;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public BigDecimal getRefCost() {
        return refCost;
    }

    public void setRefCost(BigDecimal refCost) {
        this.refCost = refCost;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public int getDispatchTimes() {
        return dispatchTimes;
    }

    public void setDispatchTimes(int dispatchTimes) {
        this.dispatchTimes = dispatchTimes;
    }

    public Boolean getIsElectric() {
        return isElectric;
    }

    public void setIsElectric(Boolean isElectric) {
        this.isElectric = isElectric;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Boolean getIsVeneer() {
        return isVeneer == null ? false : isVeneer;
    }

    public void setIsVeneer(Boolean isVeneer) {
        this.isVeneer = isVeneer;
    }

    @Override
    public String toString() {
        return "SServiceOrderAdminVo [id=" + id + ", customerOrderId=" + customerOrderId + ", currentAddr="
                + currentAddr + ", orderCode=" + orderCode + ", orderId=" + orderId + ", sOrderCode=" + sOrderCode
                + ", userId=" + userId + ", userName=" + userName + ", departProvinceCode=" + departProvinceCode
                + ", departProvinceName=" + departProvinceName + ", departCityCode=" + departCityCode
                + ", departCityName=" + departCityName + ", departCountyCode=" + departCountyCode
                + ", departCountyName=" + departCountyName + ", departUnit=" + departUnit + ", departAddrId="
                + departAddrId + ", departAddr=" + departAddr + ", receiptProvinceCode=" + receiptProvinceCode
                + ", receiptProvinceName=" + receiptProvinceName + ", receiptCityCode=" + receiptCityCode
                + ", receiptCityName=" + receiptCityName + ", receiptCountyCode=" + receiptCountyCode
                + ", receiptCountyName=" + receiptCountyName + ", receiptUnit=" + receiptUnit + ", receiptAddrId="
                + receiptAddrId + ", receiptAddr=" + receiptAddr + ", isPick=" + isPick + ", isDeliv=" + isDeliv
                + ", isElectric=" + isElectric + ", createTime=" + createTime + ", brandName=" + brandName
                + ", vehicleName=" + vehicleName + ", deliveryDate=" + deliveryDate + ", arriveDate=" + arriveDate
                + ", beginCreateTime=" + beginCreateTime + ", endCreateTime=" + endCreateTime + ", deliveryTime="
                + deliveryTime + ", arriveTime=" + arriveTime + ", cost=" + cost + ", status=" + status + ", refCost="
                + refCost + ", vin=" + vin + ", dispatchTimes=" + dispatchTimes + ", comment=" + comment + ", isVeneer="
                + isVeneer + "]";
    }

}